package com.xin.springcloudconsumer.enums;

import lombok.Getter;

@Getter
public enum ConsumerEnum {
    CREATE_USER_ERROR(1,"创建用户失败!"),
    CREATE_FRIEND_ERROR(2,"创建好友失败!"),
    DELETE_FRIEND_ERROR(3,"删除好友失败!"),
    NOT_RELATIONSHIP(4,"不是好友关系!"),
    USER_NOT_EXIST(5,"用户不存在!"),

    ;
    private Integer code;
    private String message;
    ConsumerEnum(Integer code,String message){
        this.code=code;
        this.message=message;
    }



}
